package com.czwx.bee.business.manager.modular.sys.model;
import com.czwx.bee.base.common.model.CommonModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.beetl.sql.core.annotatoin.Table;

import javax.validation.constraints.NotEmpty;


/* 
* 
* gen by beetlsql 2018-04-23
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "bp_role")
@ApiModel(value="Role",description="角色对象")
public class Role  extends CommonModel {

	@ApiModelProperty(value = "id")
	private Long id ;
	@ApiModelProperty(value = "排序")
	private Integer seq ;
	@ApiModelProperty(value = "状态：1启用0停用")
	private Integer status ;
	@ApiModelProperty(value = "描述")
	private String description ;
	@NotEmpty(message = "角色名不能为空")
	@ApiModelProperty(value = "角色名称")
	private String name ;
	@ApiModelProperty(value = "组织id")
	private Long orgid ;

}
